package com.alisinngai.demo.springbootjenkinsdemo;

import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试控制器
 *
 * @author zw
 * @since 2025/8/29 14:52
 */
@RequiredArgsConstructor
@RestController
@RequestMapping("/api/demo")
public class TestDemoController {

    @RequestMapping("/test")
    public String test() {
        return "Hello World!";
    }
}

